(function () {
    'use strict';

    angular
        .module('app.core', [
            'ngAnimate', 'ngSanitize',
            'blocks.exception', 'blocks.logger', 'blocks.router',
            'ui.router', 'ngplus', 'ngMaterial', 'ngMessages', 'mdDataTable', 'md.data.table'
        ])

     .config(function ($mdThemingProvider) {

         $mdThemingProvider.definePalette('LPBlue', {
             '50': 'edf6f9',
             '100': 'd1e9f1',
             '200': 'b3dbe7',
             '300': '94ccdd',
             '400': '7dc1d6',
             '500': '5eafca',
             '600': '66b6cf',
             '700': '53a6c3',
             '800': '499ebd',
             '900': '388eb2',
             'A100': '#daeef4',
             'A200': '#eef7fa',
             'A400': '#ffffff',
             'A700': '#2b748a',
             'contrastDefaultColor': 'light',
             'contrastDarkColors': '50 100 200 300 400 500 A100 A200 A400'
         });

         $mdThemingProvider.definePalette('LPGray', {
             '50': 'ececee',
             '100': 'ceced4',
             '200': 'aeaeb8',
             '300': '8e8e9b',
             '400': '757585',
             '500': '555568',
             '600': '5d5d70',
             '700': '4b4b5d',
             '800': '414153',
             '900': '303041',
             'A100': '8e8e9b',
             'A200': '#71A436',
             'A400': 'FAA900', //#
             'A700': 'DCB439', //Hue 3 - Gold Color 
             'contrastDefaultColor': 'light',
             'contrastDarkColors': '50 100 200 300 400 500 A100 A200 A400'
         });


         $mdThemingProvider.definePalette('White', {
             '50': 'ffffff',
             '100': 'ffffff',
             '200': 'ffffff',
             '300': 'ffffff',
             '400': 'ffffff',
             '500': 'ffffff',
             '600': 'ffffff',
             '700': 'ffffff',
             '800': 'ffffff',
             '900': 'ffffff',
             'A100': 'ffffff',
             'A200': 'ffffff',
             'A400': 'ffffff', //#
             'A700': 'ffffff', //Hue 3 - Gold Color 
             'contrastDefaultColor': 'light',
             'contrastDarkColors': '50 100 200 300 400 500 A100 A200 A400'
         });



         $mdThemingProvider.theme('default').primaryPalette('LPBlue', { 'default': '600' }).accentPalette('LPGray', { 'default': '600' });
         $mdThemingProvider.theme('altTheme1').primaryPalette('grey', { 'default': '500' }).accentPalette('LPBlue');
         $mdThemingProvider.theme('White').primaryPalette('White', { 'default': '500' }).accentPalette('White');
         $mdThemingProvider.theme('input', 'default').primaryPalette('grey');

         $mdThemingProvider.theme('red').primaryPalette('red', { 'default': '800' });
         $mdThemingProvider.theme('amber').primaryPalette('amber');
         $mdThemingProvider.theme('green').primaryPalette('green', { 'default': '600' });

         $mdThemingProvider.theme('yellow').primaryPalette('yellow', { 'default': '300' });
         $mdThemingProvider.theme('blue').primaryPalette('blue');
         $mdThemingProvider.theme('brown').primaryPalette('brown');
         $mdThemingProvider.theme('deep-orange').primaryPalette('deep-orange');

     });
})();
